package com.library.gq.entity;

public class BookEntity {
    private Integer id;//物品编码

    private Integer goodsId;//失物编码

    private String name;//认领人姓名

    private String Card;//身份证号

    private String goodsName;//遗失的物品名

    private String time;//时间

    private String phone;//联系方式

    private String state;//物品状态

    public BookEntity() {
    }

    public BookEntity(String goodsName, String time, String state) {
        this.goodsName = goodsName;
        this.time = time;
        this.state = state;
    }


    public BookEntity(Integer id, String goodsName, String time, String state) {
        this.id = id;
        this.goodsName = goodsName;
        this.time = time;
        this.state = state;
    }

    public BookEntity(Integer id, Integer goodsId, String name, String card, String time, String phone) {
        this.id = id;
        this.goodsId = goodsId;
        this.name = name;
        Card = card;
        this.time = time;
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCard() {
        return Card;
    }

    public void setCard(String card) {
        Card = card;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
